/**
 * @file textbox.cpp
 * @author SoBigDog (623644973lubin@163.com)
 * @brief 
 * @version 0.1
 * @date 2020-04-08
 * 
 * @copyright Copyright (c) 2020
 * 
 */
#include <ncurses.h>
#include "TextBox.h"

/**
 * @brief Construct a new Text Box:: Text Box object
 * 
 * @param parent 
 * @param len_y 
 * @param len_x 
 * @param y 
 * @param x 
 */
TextBox::TextBox(WINDOW * parent, int len_y, int len_x, int y, int x) : Widget(parent, len_y, len_x, y, x)
{
	curs_set(1);
	
	mvwprintw(win, 0, 0, "~");
	
	fresh();
}
